package DomainLayer.Common;

import Helpers.ApplicationLogger;

public abstract class AbstractProcess extends AbstractEntity
{
	public void process()
	{
		ApplicationLogger.getInstance().LOG.info("Process " + this.getClass().getSimpleName() + " started.");
	}
	
	private Object result;	
	private ProcessStatus status;
	
	public ProcessStatus getStatus() {
		return status;
	}
	public void setStatus(ProcessStatus status) {
		this.status = status;
	}
	public Object getResult() {
		return result;
	}
	protected void setResult(Object result) {
		this.result = result;
	}
}